package com.spi.soconversion.orders.conversion;

public enum InstallBaseLineType {
	CARRY("000001_Customer_P_CARRY","CashNCarry"),
	DCPICK("000001_Customer_P_HBCDCPU","PickupDelivery"),
	STOREPU("000001_Customer_P_STOREPU", "PickupDelivery"),
	GND("000001_Home Deliv_T_GND", "PickupDelivery"),
    STORESTOCK("000001_Home Deliv_T_STORESTOCK", "PickupDelivery");
			
	private String code;
	private String displayText;
			
	private InstallBaseLineType(String code,String displayText) {
		this.code= code;
		this.displayText=displayText;
	}
			
	public static String getMCFLineType(String cofiValue) {
		for (InstallBaseLineType lt : InstallBaseLineType.values()) {
			if (lt.code.equals(cofiValue)) {
				return lt.displayText;
			}
		}
		return null;
	}
}
